package com.bdqn.cloud.t320.service;

import com.bdqn.cloud.t320.entity.Dto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("springcloud-service-user")
public interface UserRemoteClient {

    /**
     * 声明一个feign的接口，它的实现是服务提供者的controller实现
     *
     * @return
     */
    @RequestMapping(value = "/list")
    public Dto list();
}
